package com.youku.core.model.vo
{
   import com.youku.interfaces.IControllerData;
   
   public class ControllerData extends Object implements IControllerData
   {
      
      public function ControllerData() {
         super();
         this._area_code = "";
         this._dma_code = "";
         this._search_count = true;
         this._stream_mode = 1;
         this._share_disabled = false;
         this._download_disabled = false;
         this._video_capture = false;
         this._continuous = false;
         this._playmode = "";
         this._tsflag = false;
         this._hd3_enabled = false;
      }
      
      protected var _area_code:String;
      
      protected var _dma_code:String;
      
      protected var _search_count:Boolean;
      
      protected var _stream_mode:int;
      
      protected var _share_disabled:Boolean;
      
      protected var _download_disabled:Boolean;
      
      protected var _video_capture:Boolean;
      
      protected var _continuous:Boolean;
      
      protected var _circle:Boolean;
      
      protected var _tsflag:Boolean;
      
      protected var _area_dma_code:String;
      
      protected var _playmode:String;
      
      protected var _hd3_enabled:Boolean;
      
      public function get search_count() : Boolean {
         return this._search_count;
      }
      
      public function set search_count(param1:Boolean) : void {
         this._search_count = param1;
      }
      
      public function get stream_mode() : int {
         return this._stream_mode;
      }
      
      public function set stream_mode(param1:int) : void {
         this._stream_mode = param1;
      }
      
      public function get share_disabled() : Boolean {
         return this._share_disabled;
      }
      
      public function set share_disabled(param1:Boolean) : void {
         this._share_disabled = param1;
      }
      
      public function get download_disabled() : Boolean {
         return this._download_disabled;
      }
      
      public function set download_disabled(param1:Boolean) : void {
         this._download_disabled = param1;
      }
      
      public function get video_capture() : Boolean {
         return this._video_capture;
      }
      
      public function set video_capture(param1:Boolean) : void {
         this._video_capture = param1;
      }
      
      public function get continuous() : Boolean {
         return this._continuous;
      }
      
      public function set continuous(param1:Boolean) : void {
         this._continuous = param1;
      }
      
      public function get area_code() : String {
         return this._area_code;
      }
      
      public function set area_code(param1:String) : void {
         this._area_code = param1;
      }
      
      public function get dma_code() : String {
         return this._dma_code;
      }
      
      public function set dma_code(param1:String) : void {
         this._dma_code = param1;
      }
      
      public function get area_dma_code() : String {
         var _loc1_:String = null;
         if(this._area_dma_code)
         {
            return this._area_dma_code;
         }
         if(this.area_code == "" && this.dma_code == "")
         {
            this._area_dma_code = "default";
         }
         else
         {
            _loc1_ = this.area_code.substr(0,4);
            this._area_dma_code = _loc1_ + "_" + this.dma_code;
         }
         return this._area_dma_code;
      }
      
      public function get playmode() : String {
         return this._playmode;
      }
      
      public function set playmode(param1:String) : void {
         this._playmode = param1;
      }
      
      public function get circle() : Boolean {
         return this._circle;
      }
      
      public function set circle(param1:Boolean) : void {
         this._circle = param1;
      }
      
      public function get tsflag() : Boolean {
         return this._tsflag;
      }
      
      public function set tsflag(param1:Boolean) : void {
         this._tsflag = param1;
      }
      
      public function get hd3_enabled() : Boolean {
         return this._hd3_enabled;
      }
      
      public function set hd3_enabled(param1:Boolean) : void {
         this._hd3_enabled = param1;
      }
   }
}
